<?php
class BlogAppController extends AppController {

	var $transaction;
	
	 
	public function beforeFilter(){		
		parent::beforeFilter();	
		
		// model's DataSource object for sql transactions
		$this->transaction = ConnectionManager::getDataSource('default');
		
	}

}
?>